using System;
using System.Collections.Generic;
using ns26;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("RewardUtils")]
	public class RewardUtils : MonoClass
	{
		public static Vector3 REWARD_HIDDEN_SCALE => MonoClass.smethod_6<Vector3>(TritonHs.MainAssemblyPath, "", "RewardUtils", "REWARD_HIDDEN_SCALE");

		public static float REWARD_HIDE_TIME => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "RewardUtils", "REWARD_HIDE_TIME");

		public RewardUtils(IntPtr address, string className)
			: base(address, className)
		{
		}

		public RewardUtils(IntPtr address)
			: this(address, "RewardUtils")
		{
		}

		public static RewardData GetRewardDataFromGenericRewardChest(NetCache.ProfileNoticeGenericRewardChest genericRewardChestProfileNotice)
		{
			return MonoClass.smethod_15<RewardData>(TritonHs.MainAssemblyPath, "", "RewardUtils", "GetRewardDataFromGenericRewardChest", new object[1] { genericRewardChestProfileNotice });
		}

		public static string GetRewardText(RewardData rewardData)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "RewardUtils", "GetRewardText", rewardData);
		}

		public static bool ShowReward(UserAttentionBlocker blocker, Reward reward, bool updateCacheValues, Vector3 rewardPunchScale, Vector3 rewardScale, string callbackName, object callbackData, GameObject callbackGO)
		{
			return MonoClass.smethod_11<bool>(TritonHs.MainAssemblyPath, "", "RewardUtils", "ShowReward", new Class276.Enum20[8]
			{
				Class276.Enum20.ValueType,
				Class276.Enum20.Class,
				Class276.Enum20.Boolean,
				Class276.Enum20.ValueType,
				Class276.Enum20.ValueType,
				Class276.Enum20.String,
				Class276.Enum20.Class,
				Class276.Enum20.Class
			}, new object[8] { blocker, reward, updateCacheValues, rewardPunchScale, rewardScale, callbackName, callbackData, callbackGO });
		}

		public static void SetQuestTileNameLinePosition(GameObject nameLine, UberText questName, float padding)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "RewardUtils", "SetQuestTileNameLinePosition", nameLine, questName, padding);
		}

		public static List<RewardData> GetRewardDataFromRewardChestAsset(int rewardChestAssetId, int rewardLevel)
		{
			return MonoClass.smethod_15<Class271<RewardData>>(TritonHs.MainAssemblyPath, "", "RewardUtils", "GetRewardDataFromRewardChestAsset", new object[2] { rewardChestAssetId, rewardLevel })?.method_25();
		}

		public static RewardData GetRewardDataStubFromRewardBagString(string rewardBagString)
		{
			return MonoClass.smethod_15<RewardData>(TritonHs.MainAssemblyPath, "", "RewardUtils", "GetRewardDataStubFromRewardBagString", new object[1] { rewardBagString });
		}

		public static void ShowInnkeeperQuoteForReward(Reward reward)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "RewardUtils", "ShowInnkeeperQuoteForReward", reward);
		}
	}
}
